<?php
if ( ! defined('BASEPATH')) exit('No direct script access allowed');


class Admin_Api_module extends CI_Module
{
    public function __construct()
    {
        parent::__construct();
        $this->load->model('admin.area_model');
    }

    public function city_fetch()
    {
        $id = $this->input->get('id');
        $list = $this->area_model->get_area_by_id($id);
        echo json_encode($list);
        exit;
    }
}